#include "HTMLEditor.h"
#include "Include/Plugins.h"
#include "Include/Lexers.h"

namespace Plugins
{

HTMLEditor::HTMLEditor(QWidget *parent):
    TextEditor(parent)
{
    PluginWrapper<Lexers::ILexers> lexers = loadPlugin<Lexers::ILexers>("liblexers.so");
    _lex = lexers->get("jinja2 + html", this);
    setLexer(_lex->lexer());
    setTheme();
}

}
